import Router from 'koa-router'

const router = new Router({
  prefix: '/user'
})

router.get('/list', async (ctx) => {
  ctx.body = [{
    'id': 1,
    'name': 'huangzl'
  }, {
    'id': 2,
    'name': 'zhangsan'
  }]
})

export default router
